<?php


// include the PHP TwilioRest library
//include_once 'Services/Twilio.php';

class HTGNotification {
	const TWILLO_SID='ACb4c93174e01f4bbea46ed7d7cc583e57 ';
	const TWILLO_AUTH_TOKEN='810a8908bfbc85aa31b8646784d2f89b';
	const OUR_TEXT_FROM_NUM='3104304794';

	public function __construct() {

	}


	public function notify($numbers, $text ) {
		$client = new Services_Twilio(self::TWILLO_SID, self::TWILLO_AUTH_TOKEN);
		foreach ($numbers as $number) {
			$sms = $client->account->sms_messages->create(self::OUR_TEXT_FROM_NUM, $number,	$text);
		}

	}
}

?>